package cn.com.surker.enums.production.invoice;

import cn.com.surker.enums.ICodeDescEnum;

/**
 * 分料类型
 *
 * @author luotao
 * @date 2024/10/15
 */
public enum TranTypeEnum implements ICodeDescEnum {

	WHOLE_TRAN(0, "整车转料"),
	BATCH_TRAN(1, "分车转料"),
	;

	private final String description;

	private final Integer code;

	TranTypeEnum(Integer code, String description) {
		this.description = description;
		this.code = code;
	}

	@Override
	public String getDescription() {
		return description;
	}

	@Override
	public Integer getCode() {
		return code;
	}
}
